#ifndef _FRAMECOUNTER_H_
    #define _FRAMECOUNTER_H_
 
#include <SDL.h>

 
class FrameCounter {
	private:
		long oldTime;
		long newTime;
		long fps;
		long frames;
		long avgFrames;		

    public:
        FrameCounter();
		void OnRender(SDL_Surface *surface);
		long GetAvgNoOfFrames();

 

};

#endif